/*
 * Filename:    WarningOrgBlackDAOImpl.java
 * Copyright:   2014 中国平安保险（集团）股份有限公司 版权所有
 * Company:     平安科技养老险及健康险系统开发部
 * Create at:   2014年11月11日
 */
package com.paic.mhis.hcpms.warning.dao.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Component;

import com.paic.mhis.hcpms.warning.dao.WarningOrgBlackDAO;
import com.paic.mhis.hcpms.warning.dto.WarningBlackDTO;
import com.paic.mhis.hcpms.warning.dto.WarningMedicalDTO;
import com.paic.mhis.hcpms.warning.dto.WarningOrgDTO;
import com.paic.pafa.biz.dao.BaseDAO;
import com.paic.pafa.exceptions.BusinessException;

@Component("warningOrgBlackDao")
public class WarningOrgBlackDAOImpl extends BaseDAO implements WarningOrgBlackDAO {

	@Override
	public List<WarningOrgDTO> findWarningOrg(Map<String, Object> paramMap) throws BusinessException {
		return (List<WarningOrgDTO>) this._list("warningOrg", paramMap);
	}

	@Override
	public List<WarningMedicalDTO> findWarningMedical(Map<String, Object> paramMap) throws BusinessException {
		return (List<WarningMedicalDTO>) this._list("warningMedical", paramMap);
	}

	@Override
	public List<WarningBlackDTO> findWarningBlack(Map<String, Object> paramMap) throws BusinessException {
		return (List<WarningBlackDTO>) this._list("warningBlack", paramMap);
	}

}
